body, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, form {margin:0; 
padding:0; border:0; list-style:none;}
/*全局控制*/
body{font-family: cursive; font-size:25px;color: #fff;background-color: #2d292b;}
/*未点击和点击后的样式*/
a:link,a:visited{
	color: white;
	text-decoration:none;
	transition: font-size 0.3s ease;
	}
/*鼠标移上时的样式*/ 
a:hover,.now{color: #e1c584; font-size: 28px;} 
.top{
	display: flex;
	align-items: center;
	background-color: #546861;
}
.logo{
	margin-right: 20px;
}

.search input[type="text"] {
 margin-left: auto;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.search button{
  margin-right :10px;
  padding: 8px 15px;
  background-color: #579E90;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}
.watch{

  padding: 15px;
  background-color: #579E90;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  width: 200px;;
}
.suspension img{
	opacity: 0.8;
  z-index: 99;
	width: 10%;
	height: auto;
position: fixed;
}


.slider {
      width: 100%;
      height: 650px;
      position: relative;
      overflow: hidden;
    }

    /* 图片列表样式 */
    .slider img {
      width: 100%;
      height: 100%;
      display: none;
    }

    /* 当前显示的图片样式 */
    .slider img.active {
      display: block;
    }

    /* 按钮样式 */
    .slider button,.gallery button {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background-color: rgba(0, 0, 0, 0.5);
      color: white;
      border: none;
      padding: 10px 20px;
      font-size: 20px;
      cursor: pointer;
    }

    /* 左按钮位置 */
    .slider button.prev,.gallery button.prev {
      left: 10px;
    }

    /* 右按钮位置 */
    .slider button.next,.gallery button.next {
      right: 10px;
    }
   .form {
      width: 500px;
      margin: 0 auto;
      padding: 20px;
      border: 2px solid #ccc;
      border-radius: 5px;
    
    }
   .form div {
      margin-bottom: 15px;
    }

    /* 标签样式 */
   .form div div {
      font-weight: bold;
      margin-bottom: 5px;
    }

    /* 输入框样式 */
   .form input[type="text"],
   .form input[type="tel"],
   .form input[type="email"] {
      width: 100%;
      padding: 8px;
      border: 1px solid #ccc;
      border-radius: 3px;
    }

    /* 单选按钮样式 */
   .form input[type="radio"] {
      margin-right: 5px;
    }

    /* 提交按钮样式 */
   .form button {
      background-color: #579E90;
      color: white;
      padding: 13px 17px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
	 display: block;
	 margin: 0% auto;
	font-size: 15px;
    }

    /* 提交按钮 hover 效果 */
   .form button:hover {
      background-color: #0056b3;
    }
    .message-slider {
      width: 100%;
      height: 30px;
      overflow: hidden;
      border: 1px solid #ccc;
    }

    /* 消息内容样式 */
    .message-content {
      white-space: nowrap;
      animation: scroll 10s linear infinite;
    }

    /* 动画关键帧 */
    @keyframes scroll {
      from {
        transform: translateX(100%);
      }

      to {
        transform: translateX(-100%);
      }
    }
	.logo img{
		border-radius: 50%;	
	}
	.nav1{
		display: flex;
		flex-direction: row;
		justify-content: space-around;
		padding: 15px;
		background-color: #546861;
	}
	.introduction{
		display: flex;
		flex-direction: row;
	}
	p{
		text-indent: 2em;
		font-size: 24px;
	}
	h1{
		color: #e1c584;
	}
	strong{
		color: #0056b3;
	}
  hr{
    color: #064731;
  }
	.scene img,.monster img{
		width: 100%;
	}
	ul li{
		list-style-type:circle;
		font-size: 25px;
	}
  ol li{
    list-style-type:'X.';
  }
  #news img{
    width: 33.3%;
    height: auto;
  }
  #news{
    display: flex;
   flex-wrap: wrap;

  }
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 20px;
    padding: 20px;
  }

  /* 图库中单个图片样式 */
 .gallery img {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

 .gallery img:hover {
    transform: scale(1.05);
  }

  /* 图片放大模态框样式 */
 .modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
  }

 .modal-content {
    display: block;
    margin: 15% auto;
    max-width: 80%;
    max-height: 80%;
  }

 .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }

 .close:hover,
 .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  .person-list {
    padding: 20px;
  }

  /* 单个人物项样式 */
 .person-item {
    background-color: black;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
  }

  /* 人物头像样式 */
 .person-item img {
    width: auto;
    height: 300px;
    
    margin-right: 20px;
  }

  /* 人物信息样式 */
 .person-info h2 {
    margin-top: 3px;
  }

 .person-info p {
    margin-bottom: 0;
  }
  .footer{
    font-size: 20px;
    font-style: italic;
    font-family: cursive;
  }